<html>
	<head>
		<title>[tech] Add new proxy</title>
	</head>
	<body>
		<form method='post'>
			{% csrf_token %}
			<table>
				<tr>
					<td>
						New proxy
					</td>
					<td>
						<input type='text' name='addr' value='{{addr}}'>
					</td>
				</tr>
				{% if form %}
					<tr>
						<td>
							Errors:
						</td>
						<td>
							<b style='color: red'>{{form.errors}}</b>, <b style='color: red'>{{form.non_field_errors}}</b>
						</td>
					</tr>
				{% endif %}
				<tr>
					<td>
						Active proxies
					</td>
					<td>
						{{num_active_proxies}}
					</td>
				</tr>
				<tr>
					<td></td>
					<td>
						<input type='submit' value='Add'>
					</td>
				</tr>
				{% if added_addr %}
					<tr>
						<td>
							Last address
						</td>
						<td>
							{{added_addr}}
						</td>
					</tr>
				{% endif %}
			</table>
		</form>
	</body>
</html>